from llama_index.embeddings.huggingface import HuggingFaceEmbedding


def embed_model_local_bge_small(**kwargs):
    embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-zh-v1.5",
                                       cache_folder=r"C:\Users\86134\Desktop\workspace\AI\ai_development_005\embed_cache",
                                       **kwargs)
    return embed_model